home *** CD-ROM | disk | FTP | other *** search
/ FM Towns: Free Software Collection 7 / FM Towns Free Software Collection 7.iso / taropyon / guilib3 / inc / dlg / dlgmsg.h < prev    next >
C/C++ Source or Header  |  1993-11-30  |  770b  |  41 lines

  1. #ifndef    _DLGMSG_H
  2. #define    _DLGMSG_H
  3.  
  4. #ifndef    _DIALOG_H
  5. #    include    <dialog.h>
  6. #endif
  7. #ifndef    _MOUSE_H
  8. #    include    <mouse.h>
  9. #endif
  10.  
  11. typedef    struct
  12. {
  13.     UCHAR        attr;        /* 属性                    */
  14.     MOSTKP_T    *mosTk;        /* マウス環境保存用        */
  15.     int            ln;            /* メッセージ行数        */
  16.     char        *sp[32];    /* メッセージバッファ    */
  17.     char        *tmp;
  18.  
  19.     int            tab;
  20.     int            fntX, fntY;
  21.     int            x0, y0;
  22.     int            xs, ys;
  23.     int            cx, cy;
  24.     FRAME        fr;
  25.  
  26.     int            centering;
  27.     int            kanCh;
  28.  
  29.     COLOR        colTbl[32];
  30.  
  31. } DLGMSG_T;
  32.  
  33. #define    DLGMSG_COL_STR(dlgMsg)    (dlgMsg->colTbl[0])
  34. #define    DLGMSG_COL_BAC(dlgMsg)    (dlgMsg->colTbl[1])
  35. #define    DLGMSG_COL_BOX(dlgMsg)    (dlgMsg->colTbl[2])
  36.  
  37. #define    DLGMSG_COL_CSTR(dlgMsg)    (dlgMsg->colTbl[4])
  38. #define    DLGMSG_COL_CBAC(dlgMsg)    (dlgMsg->colTbl[5])
  39.  
  40. #endif
  41.